package com.ccbft.learnfile;

/**
 * @author Yingyong Lao
 * @date 2021/3/28 21:13
 **/
public class MyFile {
    private int imgId;
    private String name;
    private int type;//文件的类型
    public static final int FOLDER=0;//目录
    public static final int FILE=1;//文件

    public MyFile() {
    }

    public MyFile(String name) {
        this.name = name;
    }

    public MyFile(int imgId, String name) {
        this.imgId = imgId;
        this.name = name;
    }

    public MyFile(String name,int type) {
        this.type = type;
        this.name = name;
    }

    public int getImgId() {
        return imgId;
    }

    public void setImgId(int imgId) {
        this.imgId = imgId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
